import * as actionTypes from '../action-types';
//定义一个动作创建者对象
const actionCreators = {
    add2(){
        return {
            type:actionTypes.ADD2
        }
    },
    minus2(){
        return {
            type:actionTypes.MINUS2
        }
    }
}
export default actionCreators;